import Demo from 'vitepress-theme-demoblock/components/Demo.vue'
import DemoBlock from 'vitepress-theme-demoblock/components/DemoBlock.vue'
import 'ant-design-vue/dist/antd.less'
import Antd from "ant-design-vue";
import "@/assets/styles/theme.less";
import GlobalComponent from "@/components/index";
import axios from "@/plugins/axios";
import "./theme.less";
export function registerComponents(app) {
  app.config.globalProperties.$axios = axios;
  app.use(Antd);
  app.use(GlobalComponent);
  app.component('Demo', Demo)
  app.component('DemoBlock', DemoBlock)
}
